package hy.entity;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
@Data
@Component
public class C {
    @Value("#{b.name}")
    String myname;
    @Value("${age}")
    String age;
}
